package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.pojo.Setmeal;

/**
 * Created by ZhaoJun on 2021/11/24 12:05
 */
public interface SetmealService extends IService<Setmeal> {
    void saveWithDish(SetmealDto setmealDto);

    Page pageAndCondition(Integer page, Integer pageSize, String name);

    Boolean del(Long[] ids);

    SetmealDto findById(Long id);

    void updateWithDish(SetmealDto setmealDto);

    void status(Integer status, Long[] ids);
}
